package com.imooc.jdbc.hrapp.entity;

import java.util.Date;

public class Employee {


    /**
     * 1. 具备默认构造函数
     * 2. 属性私有
     * 3. 存在 getter,setter
     */
    public Employee(){

    }

    private Integer id;
    private String depname;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDepname() {
        return depname;
    }

    public void setDepname(String depname) {
        this.depname = depname;
    }

    public String getEmpname() {
        return empname;
    }

    public void setEmpname(String empname) {
        this.empname = empname;
    }

    public float getSalary() {
        return salary;
    }

    public void setSalary(float salary) {
        this.salary = salary;
    }

    private String empname;
    private float salary;
    private Date hiredate;

    public Date getHiredate() {
        return hiredate;
    }

    public void setHiredate(Date hiredate) {
        this.hiredate = hiredate;
    }
}
